Skip to content

Fix: MySQL Connectors takeover vulnerability - #310

Open
WesternConcrete wants to merge 1 commit into
masterfrom
devin/1788073796-mysql-connector-j-cve-2023-22102
Open

WesternConcrete wants to merge 1 commit into
masterfrom
devin/1788073796-mysql-connector-j-cve-2023-22102

Conversation

@WesternConcrete

@WesternConcrete WesternConcrete commented Aug 30, 2026

Copy link
Copy Markdown

Summary

Finding: MySQL Connectors takeover vulnerability (CVE-2023-22102) in COG-GTM/ftgo-monolith.

mysql:mysql-connector-java:8.0.33 is affected (CVE-2023-22102, CVSS 8.3 — unauthenticated network attacker can take over Connector/J, e.g. via a hostile/MITM server response). The legacy mysql:mysql-connector-java coordinate is EOL at 8.0.33 and never received the patch, so the fix is to move to the renamed artifact at the first fixed version:

- mysql:mysql-connector-java:8.0.33
+ com.mysql:mysql-connector-j:8.2.0

Applied in buildSrc/build.gradle, ftgo-common/build.gradle, and ftgo-application/build.gradle. Package/class names are unchanged (com.mysql.cj.jdbc.Driver), so no code or datasource config changes are required.

Link to Devin session: https://app.devin.ai/sessions/7c734a49fa1849bc9ef496bfc9c72d10
Open in Devin Desktop: https://app.devin.ai/desktop/session/7c734a49fa1849bc9ef496bfc9c72d10?variant=devin
Requested by: @WesternConcrete


Devin Review

Status Commit
⚪ Not started

Run Devin Review

Devin Review (Staging)
Devin Review

@devin-ai-integration

Copy link
Copy Markdown

🤖 Devin AI Engineer

I'll be helping with this pull request! Here's what you should know:

✅ I will automatically:

  • Address comments on this PR. Add '(aside)' to your comment to have me ignore it.
  • Look at CI failures and help fix them

Note: I can only respond to comments from users who have write access to this repository.

⚙️ Control Options:

  • Disable automatic comment, CI, and merge conflict monitoring

@devin-ai-integration devin-ai-integration Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Devin Review found 2 potential issues.

Devin Review

Comment thread buildSrc/build.gradle

dependencies {
compile 'mysql:mysql-connector-java:8.0.33'
compile 'com.mysql:mysql-connector-j:8.2.0'

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

📝 Info: Legacy driver alias remains available

Connector/J 8.2.0 retains the com.mysql.jdbc.Driver bridge used by Docker Compose and WaitForMySql.

Devin Review

Was this helpful? React with 👍 or 👎 to provide feedback.

compile "org.springframework.boot:spring-boot-starter-web:$springBootVersion"

runtime 'mysql:mysql-connector-java:8.0.33'
runtime 'com.mysql:mysql-connector-j:8.2.0'

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

📝 Info: Runtime package contains upgraded connector

The executable application package contains Connector/J 8.2.0 and its protobuf dependency. Its runtime graph contains no legacy connector artifact.

Devin Review

Was this helpful? React with 👍 or 👎 to provide feedback.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant